package javaio;

import java.io.File;

public class FileDemo07 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	File f= new File("D:"+File.separator);
  String str[] = f.list();
  for (int i = 0; i < str.length; i++) {
	System.out.println(str[i]);
}
	}

}
